public class OverrideTest2 {
    public static void main(String[] args) {
        Person jack=new Person("jack",40);
        System.out.println(jack.getName());
        System.out.println(jack.getAge());
        System.out.println(jack.say());

        Student zhangsan = new Student("zhangsan", 20, 123, 96.5);
        System.out.println(zhangsan.getId());
        System.out.println(zhangsan.getAge());
        System.out.println(zhangsan.getName());
        System.out.println(zhangsan.getAge());
        System.out.println(zhangsan.say());

        System.out.println("_____________");
        College lisi=new College("lisi",40,123,95.5,"qinghuadaxue",4660.00);
        System.out.println(lisi.getFees());
        System.out.println(lisi.getSchool());
        System.out.println(lisi.getName());
        System.out.println(lisi.getAge());
        System.out.println(lisi.getScore());
        System.out.println(lisi.getId());
        System.out.println(lisi.say());

    }
}
